home *** CD-ROM | disk | FTP | other *** search
Makefile | 2000-06-25 | 489 b | 16 lines |
- CFLAGS = -O2 -c -I/include -D__NOLIBBASE__
- LFLAGS = -nostdlib
-
- ODIR = T: # the directory, where object files are stored
- DDIR = /libs/ # the directory, where destination library is stored
-
- $(DDIR)example.library: $(ODIR)libinitvbcc.o $(ODIR)examplefuncsvbcc.o
- vc $(LFLAGS) -o $@ $(ODIR)libinitvbcc.o $(ODIR)examplefuncsvbcc.o
-
- $(ODIR)libinitvbcc.o: libinfo.h libinit.c
- vc $(CFLAGS) -o $@ libinit.c
-
- $(ODIR)examplefuncsvbcc.o: libinfo.h examplefuncs.c
- vc $(CFLAGS) -o $@ examplefuncs.c
-
-